<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: blfwk::ConstantDataTarget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader Host
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Host Tools for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classblfwk_1_1_constant_data_target.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classblfwk_1_1_constant_data_target-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">blfwk::ConstantDataTarget Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Target with a constant values for the addresses.  
 <a href="classblfwk_1_1_constant_data_target.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="src_2blfwk_2_data_target_8h_source.html">DataTarget.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for blfwk::ConstantDataTarget:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classblfwk_1_1_constant_data_target__inherit__graph.svg" width="186" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for blfwk::ConstantDataTarget:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classblfwk_1_1_constant_data_target__coll__graph.svg" width="336" height="127"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a024753befa87efeed4469130a3811240"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a024753befa87efeed4469130a3811240"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_constant_data_target.html#a024753befa87efeed4469130a3811240">ConstantDataTarget</a> (uint32_t start)</td></tr>
<tr class="memdesc:a024753befa87efeed4469130a3811240"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor taking only a begin address. <br /></td></tr>
<tr class="separator:a024753befa87efeed4469130a3811240"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4caa8f091f4a67b208e67bbf8eea1a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb4caa8f091f4a67b208e67bbf8eea1a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_constant_data_target.html#afb4caa8f091f4a67b208e67bbf8eea1a">ConstantDataTarget</a> (uint32_t start, uint32_t end)</td></tr>
<tr class="memdesc:afb4caa8f091f4a67b208e67bbf8eea1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor taking both begin and end addresses. <br /></td></tr>
<tr class="separator:afb4caa8f091f4a67b208e67bbf8eea1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab17fe7b639525a35ac88ef8b55f181e8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab17fe7b639525a35ac88ef8b55f181e8"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_constant_data_target.html#ab17fe7b639525a35ac88ef8b55f181e8">isBounded</a> ()</td></tr>
<tr class="memdesc:ab17fe7b639525a35ac88ef8b55f181e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The target is bounded if an end address was specified. <br /></td></tr>
<tr class="separator:ab17fe7b639525a35ac88ef8b55f181e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79be466256e49056589f613ccf05d992"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79be466256e49056589f613ccf05d992"></a>
virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>getBeginAddress</b> ()</td></tr>
<tr class="separator:a79be466256e49056589f613ccf05d992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3d5e4a1bff922eaaa99e2823ba875ea"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3d5e4a1bff922eaaa99e2823ba875ea"></a>
virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>getEndAddress</b> ()</td></tr>
<tr class="separator:ad3d5e4a1bff922eaaa99e2823ba875ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad470db3dd79669c6bf3c66c884796c56"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classblfwk_1_1_data_target.html#structblfwk_1_1_data_target_1_1_address_range">DataTarget::AddressRange</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_constant_data_target.html#ad470db3dd79669c6bf3c66c884796c56">getRangeForSegment</a> (<a class="el" href="classblfwk_1_1_data_source.html">DataSource</a> &amp;source, <a class="el" href="classblfwk_1_1_data_source_1_1_segment.html">DataSource::Segment</a> &amp;segment)</td></tr>
<tr class="memdesc:ad470db3dd79669c6bf3c66c884796c56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the address range for a segment of a data source.  <a href="#ad470db3dd79669c6bf3c66c884796c56">More...</a><br /></td></tr>
<tr class="separator:ad470db3dd79669c6bf3c66c884796c56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classblfwk_1_1_data_target"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classblfwk_1_1_data_target')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classblfwk_1_1_data_target.html">blfwk::DataTarget</a></td></tr>
<tr class="memitem:a7a81b5c505bc7441fdb7c6f064018e33 inherit pub_methods_classblfwk_1_1_data_target"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a81b5c505bc7441fdb7c6f064018e33"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_target.html#a7a81b5c505bc7441fdb7c6f064018e33">DataTarget</a> ()</td></tr>
<tr class="memdesc:a7a81b5c505bc7441fdb7c6f064018e33 inherit pub_methods_classblfwk_1_1_data_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a7a81b5c505bc7441fdb7c6f064018e33 inherit pub_methods_classblfwk_1_1_data_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a568858e044c57927c058fd53131a8bdc inherit pub_methods_classblfwk_1_1_data_target"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a568858e044c57927c058fd53131a8bdc"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_target.html#a568858e044c57927c058fd53131a8bdc">~DataTarget</a> ()</td></tr>
<tr class="memdesc:a568858e044c57927c058fd53131a8bdc inherit pub_methods_classblfwk_1_1_data_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a568858e044c57927c058fd53131a8bdc inherit pub_methods_classblfwk_1_1_data_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a449c6f4b856d7d872d6de54c9e2ab67e inherit pub_methods_classblfwk_1_1_data_target"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a449c6f4b856d7d872d6de54c9e2ab67e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setSource</b> (<a class="el" href="classblfwk_1_1_data_source.html">DataSource</a> *source)</td></tr>
<tr class="separator:a449c6f4b856d7d872d6de54c9e2ab67e inherit pub_methods_classblfwk_1_1_data_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac84e726fda0b721cf6ee3e370ff34da9 inherit pub_methods_classblfwk_1_1_data_target"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac84e726fda0b721cf6ee3e370ff34da9"></a>
<a class="el" href="classblfwk_1_1_data_source.html">DataSource</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getSource</b> () const </td></tr>
<tr class="separator:ac84e726fda0b721cf6ee3e370ff34da9 inherit pub_methods_classblfwk_1_1_data_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a8de87d2492ac10eceb52f6cd78a49682"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8de87d2492ac10eceb52f6cd78a49682"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_constant_data_target.html#a8de87d2492ac10eceb52f6cd78a49682">m_begin</a></td></tr>
<tr class="memdesc:a8de87d2492ac10eceb52f6cd78a49682"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start address. <br /></td></tr>
<tr class="separator:a8de87d2492ac10eceb52f6cd78a49682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a329a3be0877f7adce243a67af5a32707"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a329a3be0877f7adce243a67af5a32707"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_constant_data_target.html#a329a3be0877f7adce243a67af5a32707">m_end</a></td></tr>
<tr class="memdesc:a329a3be0877f7adce243a67af5a32707"><td class="mdescLeft">&#160;</td><td class="mdescRight">End address. <br /></td></tr>
<tr class="separator:a329a3be0877f7adce243a67af5a32707"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e6c559f5b1b0a845b8c3d16faae96a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68e6c559f5b1b0a845b8c3d16faae96a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_constant_data_target.html#a68e6c559f5b1b0a845b8c3d16faae96a">m_hasEnd</a></td></tr>
<tr class="memdesc:a68e6c559f5b1b0a845b8c3d16faae96a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Was an end address specified? <br /></td></tr>
<tr class="separator:a68e6c559f5b1b0a845b8c3d16faae96a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classblfwk_1_1_data_target"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classblfwk_1_1_data_target')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classblfwk_1_1_data_target.html">blfwk::DataTarget</a></td></tr>
<tr class="memitem:af50108c40e082310fcb9f5728f2c2bf4 inherit pro_attribs_classblfwk_1_1_data_target"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af50108c40e082310fcb9f5728f2c2bf4"></a>
<a class="el" href="classblfwk_1_1_data_source.html">DataSource</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_target.html#af50108c40e082310fcb9f5728f2c2bf4">m_source</a></td></tr>
<tr class="memdesc:af50108c40e082310fcb9f5728f2c2bf4 inherit pro_attribs_classblfwk_1_1_data_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Corresponding data source for this target. <br /></td></tr>
<tr class="separator:af50108c40e082310fcb9f5728f2c2bf4 inherit pro_attribs_classblfwk_1_1_data_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Target with a constant values for the addresses. </p>
<p>This target type supports can be both bounded and unbounded. It always has at least one address, the beginning address. The end address is optional, and if not provided makes the target unbounded. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad470db3dd79669c6bf3c66c884796c56"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classblfwk_1_1_data_target.html#structblfwk_1_1_data_target_1_1_address_range">DataTarget::AddressRange</a> ConstantDataTarget::getRangeForSegment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classblfwk_1_1_data_source.html">DataSource</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classblfwk_1_1_data_source_1_1_segment.html">DataSource::Segment</a> &amp;&#160;</td>
          <td class="paramname"><em>segment</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the address range for a segment of a data source. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classblfwk_1_1semantic__error.html" title="A semantic error discovered while processing the command file AST. ">blfwk::semantic_error</a></td><td>Thrown if the source has multiple segments. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classblfwk_1_1_data_target.html#a212e3f177ef5402ab22a6d575936fe8e">blfwk::DataTarget</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="src_2blfwk_2_data_target_8h_source.html">src/blfwk/DataTarget.h</a></li>
<li>src/blfwk/src/DataTarget.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>blfwk</b></li><li class="navelem"><a class="el" href="classblfwk_1_1_constant_data_target.html">ConstantDataTarget</a></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:49:51 for Kinetis Bootloader Host by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
